package com.engine4cloud.tdf.education.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 学习资源推送
 *
 * @author wenjie
 * @date 2024-07-30 14:58:22
 */
@Data
@Schema(description = "学习资源推送")
public class EduCourseResourcePushDTO implements Serializable {

    /**
     * 课程编号
     */
    @Schema(description = "课程编号")
    @NotBlank(message = "课程编号不能为空")
    private String courseCode;

    /**
     * 学组编号
     */
    @Schema(description = "学组编号")
    @NotBlank(message = "学组编号不能为空")
    private String groupCode;

    /**
     * 学生编号
     */
    @Schema(description = "学生编号")
    @NotEmpty(message = "学生编号不能为空")
    List<String> studentCodeList;
}